Skip to content

Fix unbound stream variable in DHT provider_store.py#1313

Open
TimSC wants to merge 1 commit intolibp2p:mainfrom
TimSC:provider_store
Open

Fix unbound stream variable in DHT provider_store.py#1313
TimSC wants to merge 1 commit intolibp2p:mainfrom
TimSC:provider_store

Conversation

@TimSC
Copy link
Copy Markdown

@TimSC TimSC commented Apr 20, 2026

What was wrong?

I'm seeing this error repeatedly:

Error sending ADD_PROVIDER to 16Uiu2HAmD9HV16W2LQziWMT9eVMJ27ke9JYKsxH5W1Y5davyD22A: cannot access local variable 'stream' where it is not associated with a value

How was it fixed?

Declare variable used later in "finally:" block.

To-Do

  • Clean up commit history
  • Add or update documentation related to these changes
  • Add entry to the release notes

Cute Animal Picture

put a cute animal picture link inside the parentheses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant